package com.ruoyi.merchant.mapper;

import java.util.List;
import com.ruoyi.merchant.domain.CustomerHistoryMedicalDisease;

/**
 * 客户病史习惯-疾病Mapper接口
 * 
 * @author chengxin.ju
 * @date 2023-12-12
 */
public interface CustomerHistoryMedicalDiseaseMapper 
{
    /**
     * 查询客户病史习惯-疾病
     * 
     * @param id 客户病史习惯-疾病主键
     * @return 客户病史习惯-疾病
     */
    public CustomerHistoryMedicalDisease selectCustomerHistoryMedicalDiseaseById(String id);

    /**
     * 查询客户病史习惯-疾病列表
     * 
     * @param customerHistoryMedicalDisease 客户病史习惯-疾病
     * @return 客户病史习惯-疾病集合
     */
    public List<CustomerHistoryMedicalDisease> selectCustomerHistoryMedicalDiseaseList(CustomerHistoryMedicalDisease customerHistoryMedicalDisease);

    /**
     * 新增客户病史习惯-疾病
     * 
     * @param customerHistoryMedicalDisease 客户病史习惯-疾病
     * @return 结果
     */
    public int insertCustomerHistoryMedicalDisease(CustomerHistoryMedicalDisease customerHistoryMedicalDisease);

    /**
     * 修改客户病史习惯-疾病
     * 
     * @param customerHistoryMedicalDisease 客户病史习惯-疾病
     * @return 结果
     */
    public int updateCustomerHistoryMedicalDisease(CustomerHistoryMedicalDisease customerHistoryMedicalDisease);

    /**
     * 删除客户病史习惯-疾病
     * 
     * @param id 客户病史习惯-疾病主键
     * @return 结果
     */
    public int deleteCustomerHistoryMedicalDiseaseById(String id);

    public int deleteCustomerHistoryMedicalDiseaseByHistoryId(String historyId);

    /**
     * 批量删除客户病史习惯-疾病
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerHistoryMedicalDiseaseByIds(String[] ids);
}
